Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.template.service.defaultContrib--contextExtension

This contribution is part of XML component org.nuxeo.template.service.defaultContrib inside nuxeo-template-rendering-core-6.0.jar

Documentation

Adds Repository features in the context

  • core.getParent()
  • core.getChildren()

Extension Point

Extension point contextExtension of component TemplateProcessorComponent.

Contributed Items

  • <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
        </contextFactory>

XML Source

<extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds Repository features in the context
      <ul>
        <li>core.getParent()</li>
        <li>core.getChildren()</li>
      </ul>
    </documentation>

    <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
    </contextFactory>

  </extension>